package com.example.administrator.dc.Service;

import com.example.administrator.dc.Bean.loginresult;
import com.example.administrator.dc.Bean.loginresult1;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/8/14.
 */

public interface loginService {
    @GET("TelephoneLogin")
    Call<loginresult> loginresult1(@Query("telephone") String telephone,
                                  @Query("password") String password
                                  );
    @GET("UserNameLogin")
    Call<loginresult1> loginresult(@Query("username") String username,
                                    @Query("password") String password
                                    );


}
